import { defineConfig } from 'vite'
import { devConfig } from './vite.config.dev'
import { prodConfig } from './vite.config.prod'
// https://vitejs.dev/config/
export default defineConfig((env) => {
  if (env.mode === 'development') {
    return devConfig
  } else {
    return prodConfig
  }
})
